export interface experimentsType {
  id: string
  time: {
    start: string
    end: string
  }
  groups: Array<string>
}
export interface AbtestType {
  Homeab?:experimentsType
}

const Homeab:experimentsType = {
  id: 'home_ab',
  time: {
    start: '2020-12-02 00:00:00',
    end: '2021-9-1 23:59:59'
  },
  groups: ['A', 'B']
}
const AboutAb:experimentsType = {
  id: 'about_ab',
  time: {
    start: '2020-12-02 00:00:00',
    end: '2021-9-1 23:59:59'
  },
  groups: ['A', 'B']
}
export type AbtestParamsKey = 'home_ab' | 'about_ab'
type AbtestTypeKey = 'Homeab' | 'AboutAb'
export const AbtestTypeKeyArr:Array<AbtestTypeKey> = ['Homeab', 'AboutAb']

export default {
  Homeab,
  AboutAb
}
